home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Freeware / Programare / highlight / highlight-W32GUI-2.2-10b-Setup.exe / {app} / langDefs / pyx.lang < prev    next >
Text File  |  2005-02-01  |  1KB  |  39 lines

  1. # Pyrex language definition file
  2. # (http://nz.cosc.canterbury.ac.nz/~greg/python/Pyrex/)
  3. #
  4. # Author: Matteo Bertini
  5. #   Mail: matteo.bertini@gmail.com
  6. #   Date: 20.01.2005
  7.  
  8. #Functions
  9. $KW_LIST(kwa)= global nextgroup pythonfunction skipwhite
  10. contained chr cmp coerce compile complex delattr dir divmod eval execfile
  11. filter getattr globals hasattr hash hex id input intern isinstance
  12. issubclass len list locals long map max min oct open ord pow range raw_input
  13. reduce reload repr round setattr slice str tuple type vars xrange
  14. apply sizeof abs callable exec
  15.  
  16. #keywords
  17. $KW_LIST(kwb)=import from self public extern struct as
  18. break continue del except finally pass print raise return lambda class
  19. try assert def for while if elif else and in is not or cdef ctypedef
  20.  
  21. #Exceptions ed types
  22. $KW_LIST(kwc)=arithmeticerror assertionerror attributeerror eoferror
  23. exception floatingpointerror ioerror importerror indexerror keyerror
  24. keyboardinterrupt lookuperror memoryerror nameerror notimplementederror
  25. oserror overflowerror runtimeerror standarderror syntaxerror systemerror
  26. systemexit typeerror valueerror zerodivisionerror environmenterror
  27. void char int float object
  28.  
  29. $STRINGDELIMITERS=""" ''' " '
  30.  
  31. $RAWSTRINGPREFIX=r
  32.  
  33. $SL_COMMENT=#
  34.  
  35. $IGNORECASE=true
  36.  
  37. $ESCCHAR=\
  38.  
  39. $SYMBOLS= ( ) [ ] { } , ; . : & | < > !  = / * %  + -